<!-- 这是领卷中心页面 -->
<template>
	<view class="app">
		<view class="center clear">
			<view>
				<view>
					￥{{money}}
				</view>
				<view>
					满200可用
				</view>
			</view>
			<view>
				<view>
					通用/仅限用于{{name}}加油站使用
				</view>
				<view>
					<text>
						{{startTime}}至{{endTime}}
					</text>
					<text>领取</text>
				</view>
			</view>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				name: "中国石化",
				money: 100,
				startTime: "2020.04.11",
				endTime: "2020.05.11",
			}
		},
		methods: {

		}
	}
</script>

<style>
	.center {
		width: 100%;
		height: 220rpx;
		margin:20rpx 0;
		background-color: rgba(255,255,255,0.25);
	}

	.center>view:first-child {
		margin: 20px 0 0 20rpx;
		width:30%;
		height: 150rpx;
		float: left;
		border-radius: 20rpx;
		background-color: dodgerblue;
		text-align: center;
		color: white;
	}

	.center>view:first-child>view:first-child {
		margin: 50rpx 60rpx 0 30rpx ;
		font-size: 40rpx;
	}

	.center>view:nth-child(2) {
		margin: 20rpx 0;
		width: 63%;
		height: 180rpx;
		float: right;
		border-left: rgba(0, 0, 0, 0.2) 2px solid;
	}

	.center>view:first-child>view:nth-child(2) {
		font-size: 20rpx;
		margin-top: 10rpx;
		color: white;
	}
	.center>view:nth-child(2)>view:first-child{
		margin: 15rpx 0 10rpx 20rpx;
		font-size: 20rpx;
	}
	.center>view:nth-child(2)>view:nth-child(2){
		color: red;
		font-size: 25rpx;
		margin:60rpx 0 10rpx 30rpx;
	}
	.center>view:nth-child(2)>view:nth-child(2)>text:last-child{
		display: inline-block;
		width: 100rpx;
		height: 50rpx;
		padding-top: 10rpx;
		margin: 0 0 10rpx 30rpx;
		border-radius: 10rpx;
		text-align: center;
		color: white;
		background-color: dodgerblue;
	}
</style>